﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/PMAdmin.Master"
CodeBehind="TransOverview.aspx.cs" Inherits="PM.Site.Admin.TransOverview" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <asp:Label ID="lblMsg" runat="server" Text="" Visible="false"></asp:Label>
    </div>
    <div>
        <asp:Button ID="btnAdd" runat="server" Text="Add" />
    </div>
    <br />
    <div style="float: left;">
        <asp:Panel ID="pnlOverviewTransaction" runat="server" Font-Size="Medium" GroupingText="Overview Transactions"
            Width="1685px">
            <div style="padding: 5px;">
                <asp:DataList ID="dlTransaction" DataKeyField="TransactionId" runat="server" Visible="true"
                    RepeatDirection="Horizontal" CellPadding="0" CellSpacing="0" Font-Size="Smaller"
                    HeaderStyle-Width="1660px" ItemStyle-BackColor="#F6F4F5" ItemStyle-BorderColor="#6B6B6B"
                    ItemStyle-BorderWidth="1px" HeaderStyle-BackColor="#444444" HeaderStyle-Height="30px"
                    RepeatColumns="1" RepeatLayout="Flow" >
                    <AlternatingItemStyle BackColor="#F9F9F9" />
                    <HeaderTemplate>                    
                        <div style="padding-bottom: 0px; height: 30px; margin: 0px; color: White;">
                            <div style="width: 60px; float: left; text-align: center; font-weight: bold; padding-left: 2px;">
                                Transaction Id</div>
                            <div style="width: 140px; float: left; text-align: center; font-weight: bold; padding-left: 2px;">
                                Trade Date</div>
                            <div style="width: 125px; float: left; text-align: center; font-weight: bold; padding-left: 2px;">
                                Security Id</div>
                            <div style="width: 50px; float: left; text-align: center; font-weight: bold;">
                                Description</div>
                            <div style="width: 60px; float: left; text-align: center; font-weight: bold;">
                                Bid Price</div>
                            <div style="width: 150px; float: left; text-align: center; font-weight: bold;">
                                Ask Price</div>
                            <div style="width: 80px; float: left; text-align: center; font-weight: bold;">
                                Open Price</div>
                            <div style="width: 100px; float: left; text-align: center; font-weight: bold;">
                                High Price</div>
                            <div style="width: 120px; float: left; text-align: center; font-weight: bold;">
                                Low Price</div>                               
                            <div style="width: 120px; float: left; text-align: center; font-weight: bold;">
                                Last Traded Price</div>
                            <div style="width: 120px; float: left; text-align: center; font-weight: bold;">
                                Close Price</div>
                            <div style="width: 120px; float: left; text-align: center; font-weight: bold;">
                                Trade Volume</div>
                            <div style="width: 120px; float: left; text-align: center; font-weight: bold;">
                                Share Volume</div>
                            <div style="width: 120px; float: left; text-align: center; font-weight: bold;">
                                Turnover</div>  
                            <div style="width: 120px; float: left; text-align: center; font-weight: bold;">
                                Issued Quantity</div> 
                        </div>
                    </HeaderTemplate>
                    <ItemTemplate>
                   
       
                        <div style="float: left; margin-bottom: 0px; min-height: 15px; font-size: smaller;
                            width: 1660px;">
                            <div style="width: 60px; float: left; text-align: center; min-height: 12px; padding-left: 2px;">
                                <label>
                                    <%# Eval("TransactionId")%></label></div>
                            <div style="width: 140px; float: left; text-align: center; min-height: 12px; padding-left: 2px;">
                                <label>
                                    <%# Eval("TradeDate")%></label></div>
                            <div style="width: 125px; float: left; text-align: center; min-height: 12px; padding-left: 2px;">
                                <label>
                                    <%# Eval("SecurityId")%></label></div>
                            <div style="width: 50px; float: left; text-align: center; min-height: 12px;">
                                <label>      
                                    <%# Eval("Description")%></label></div>
                            <div style="width: 60px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("BidPrice")%></label></div>
                            <div style="width: 150px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("AskPrice")%></label></div>                                    
                            <div style="width: 80px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# (Eval("OpenPrice"))%></label></div>
                            <div style="width: 100px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                  
                                    <%# Eval("HighPrice")%></label></div>
                            <div style="width: 120px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("LowPrice")%></label></div>                                    
                            <div style="width: 120px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("LastTradedPrice")%></label></div>                                            
                            <div style="width: 120px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("ClosePrice")%></label></div>                                    
                            <div style="width: 120px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("TradeVolume")%></label></div> 
                            <div style="width: 120px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("ShareVolume")%></label></div>                                    
                            <div style="width: 120px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("TurnOver")%></label></div>                 
                             <div style="width: 120px; float: left; text-align: center; min-height: 12px;">
                                <label>
                                    <%# Eval("IssuedQuantity")%></label></div>        
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
            <br />
        </asp:Panel>
    </div>
    
</asp:Content>



